package com.sskj.gocoin.m.bean;

import android.text.TextUtils;

import java.util.List;

public class FabiOrderBean {


    /**
     * oop_account : 384115
     * oop_name : 李*白
     * type : 2
     * ss_reason : null
     * order_num : 8653487381566
     * total_num : 8.3333
     * price : 1.20
     * total_price : 10.00
     * refer : 9306
     * command : null
     * add_time : 1530686534
     * status : 1
     * down_time : 0
     * pay_list : [{"id":"3","name":"lixiaobai","bank":"16654","branch":"465456","number":"654654564","type":"backcard","status":"1","tip":App.INSTANCE.getString(R.string.strFabiOrderBean215)}]
     */

    private String oop_account;
    private String oop_name;
    private String oop_mobile;
    private int type;
    private Object ss_reason;
    private String order_num;
    private String total_num;
    private String price;
    private String total_price;
    private String refer;
    private Object command;
    private String add_time;
    private String status;
    private String notes;
    private int down_time;

    private int qr_time;


    private List<PayListBean> pay_list;

    public String getOop_mobile() {
        return oop_mobile;
    }

    public void setOop_mobile(String oop_mobile) {
        this.oop_mobile = oop_mobile;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getOop_account() {
        return oop_account;
    }

    public void setOop_account(String oop_account) {
        this.oop_account = oop_account;
    }

    public String getOop_name() {
        return TextUtils.isEmpty(oop_name)? oop_mobile : oop_name;
    }

    public void setOop_name(String oop_name) {
        this.oop_name = oop_name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Object getSs_reason() {
        return ss_reason;
    }

    public void setSs_reason(Object ss_reason) {
        this.ss_reason = ss_reason;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public String getTotal_num() {
        return total_num;
    }

    public void setTotal_num(String total_num) {
        this.total_num = total_num;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTotal_price() {
        return total_price;
    }

    public void setTotal_price(String total_price) {
        this.total_price = total_price;
    }

    public String getRefer() {
        return refer;
    }

    public void setRefer(String refer) {
        this.refer = refer;
    }

    public Object getCommand() {
        return command;
    }

    public void setCommand(Object command) {
        this.command = command;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getDown_time() {
        return down_time;
    }

    public void setDown_time(int down_time) {
        this.down_time = down_time;
    }

    public List<PayListBean> getPay_list() {
        return pay_list;
    }

    public void setPay_list(List<PayListBean> pay_list) {
        this.pay_list = pay_list;
    }

    public int getQr_time() {
        return qr_time;
    }

    public void setQr_time(int qr_time) {
        this.qr_time = qr_time;
    }

    public static class PayListBean {
        /**
         * id : 3
         * name : lixiaobai
         * bank : 16654
         * branch : 465456
         * number : 654654564
         * type : backcard
         * status : 1
         * tip : 银行卡
         */

        private String id;
        private String name;
        private String bank;
        private String branch;
        private String number;
        private String type;
        private String status;
        private String tip;
        private String img;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBank() {
            return bank;
        }

        public void setBank(String bank) {
            this.bank = bank;
        }

        public String getBranch() {
            return branch;
        }

        public void setBranch(String branch) {
            this.branch = branch;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTip() {
            return tip;
        }

        public void setTip(String tip) {
            this.tip = tip;
        }
    }
}
